﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinTN_WMS_CL.Model
{
    /// <summary>
    /// 仓库
    /// </summary>
    [Table("Warehouses")]
    public class Warehouses : ModelBase
    {
        /// <summary>
        /// 仓库编码
        /// </summary>
        [Column("Code")]
        [Required]
        public string Code { set; get; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [Column("Name")]
        [Required]
        public string Name { set; get; }

        /// <summary>
        /// 进口
        /// </summary>
        [Column("Import")]
        [Required]
        public string Import { set; get; }

        /// <summary>
        /// 出口
        /// </summary>
        [Column("Export")]
        [Required]
        public string Export { set; get; }
    }
}
